﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Touch2Like.SharedLibrary
{
    public sealed class SQL
    {
        public static string SQLEncode(string source)
        {
            return source.Replace("'", "''");
        }

        public static string SQLDecode(string source)
        {// You shouldn't need this function, it's more utilitarian than anything else.
            return source.Replace("''", "'");
        }
    }
}
